package com.seu.project.seuquiz.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.seu.project.seuquiz.model.dto.collegeContestMap.CollegeContestMapQueryRequest;
import com.seu.project.seuquiz.model.entity.CollegeContestMap;

/**
* @author lenovo
* @description 针对表【college_contest_map(学院-竞赛map表)】的数据库操作Service
* @createDate 2023-07-15 13:47:58
*/
public interface CollegeContestMapService extends IService<CollegeContestMap> {

    /**
     * 根据查询参数构造queryWrapper
     * @param request
     * @return
     */
    QueryWrapper<CollegeContestMap> getQueryWrapper(CollegeContestMapQueryRequest request);

    long collegeContestMapAdd(String collegeName, String contestId, Integer collegeStudentTotal, Integer joinTotal, Integer totalScore);
}
